﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Raise3000.Code
{
    public class StatisticalAttribute
    {
        private string attributeName_;
        private double value_;
        private double denominator_ = 0;

        public StatisticalAttribute(string attributeName, double value)
        {
            attributeName_ = attributeName;
            value_ = value;
            denominator_ = 1;
        }

        public StatisticalAttribute(string attributeName, double value, double denominator)
        {
            attributeName_ = attributeName;
            value_ = value;
            denominator_ = denominator;
        }

        public string Name
        {
            get
            {
                return attributeName_;
            }
        }

        public double Value
        {
            get
            {
                return value_;
            }
            set
            {
                value_ = value;
            }
        }        
    }
}
